package com.yoyo.ad.bean;



import com.yoyo.ad.main.IKey;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class AdSourceConfigListBean implements IKey {

    /**
     * adSourceId : 2
     * adSourceConfigId : 1
     * adSourceName : null
     * minSpaceSecond : 30
     * minSpaceCount : 10000
     * mediaId : 1
     */
    @Id
    private long adSourceId;
    private int adSourceConfigId;
    private String adSourceName;
    private int minSpaceSecond;
    private int minSpaceCount;
    @Generated(hash = 1507344892)
    public AdSourceConfigListBean(long adSourceId, int adSourceConfigId,
            String adSourceName, int minSpaceSecond, int minSpaceCount) {
        this.adSourceId = adSourceId;
        this.adSourceConfigId = adSourceConfigId;
        this.adSourceName = adSourceName;
        this.minSpaceSecond = minSpaceSecond;
        this.minSpaceCount = minSpaceCount;
    }
    @Generated(hash = 2038437626)
    public AdSourceConfigListBean() {
    }
    public long getAdSourceId() {
        return this.adSourceId;
    }
    public void setAdSourceId(long adSourceId) {
        this.adSourceId = adSourceId;
    }
    public int getAdSourceConfigId() {
        return this.adSourceConfigId;
    }
    public void setAdSourceConfigId(int adSourceConfigId) {
        this.adSourceConfigId = adSourceConfigId;
    }
    public String getAdSourceName() {
        return this.adSourceName;
    }
    public void setAdSourceName(String adSourceName) {
        this.adSourceName = adSourceName;
    }
    public int getMinSpaceSecond() {
        return this.minSpaceSecond;
    }
    public void setMinSpaceSecond(int minSpaceSecond) {
        this.minSpaceSecond = minSpaceSecond;
    }
    public int getMinSpaceCount() {
        return this.minSpaceCount;
    }
    public void setMinSpaceCount(int minSpaceCount) {
        this.minSpaceCount = minSpaceCount;
    }

    @Override
    public String getKey() {
       return String.valueOf(this.adSourceId);
    }
}
